package com.liliudong.keelflower.upms.biz.dao.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liliudong.keelflower.upms.biz.entity.sys.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统菜单 Mapper 接口
 * </p>
 *
 * @author liudong.li
 * @since 2021-06-07
 */
@Mapper
public interface SysMenuDao extends BaseMapper<SysMenu> {
    /**
     * 获取菜单列表
     *
     * @param userId 用户主键
     * @return
     */
    List<SysMenu> selectListByUserId(@Param("userId") Long userId);
}
